using UnityEngine;
using System.Collections;

[System.Serializable]
public class ViewOtherCam : MonoBehaviour {
	
	public Camera mainCamera;
	public Camera otherCamera;
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		if (Input.GetKey("c")) {
			mainCamera.camera.enabled = false;
			otherCamera.camera.enabled = true;
		} else {
			mainCamera.camera.enabled = true;
			otherCamera.camera.enabled = false;
		}
	}
	
	void OnDrawGizmos() {
		if (this.collider.isTrigger) {
				
		}
	}
}
